package com.ryskoo.common.dto.order;

import com.ryskoo.common.constant.SystemConstant;
import com.ryskoo.common.dto.BasicDTO;


/**
 * 订单明细DTO
 * @author Monster
 *
 */
public class OrderDetailDTO extends BasicDTO{

	private static final long serialVersionUID = 1L;
	
	/**
     * 订单uuid
     */
    private String orderId;
    
    /**
     * 商品uuid
     */
    private String productId;
    
    
    /**
     * 商品sku
     */
    private String productSku;
    
    /**
     * 商品名称
     */
    private String productName;
    
    /**
     * 规格，如:颜色:白色，尺码：XL
     */
    private String specValue;
    
    /**
     * 商品原价
     */
    private double basePrice;
    
    /**
     * 购买数量
     */
    private int buyNum;
    
    
    /**
     * 最终价格
     */
    private double finalNrice;
    
    /**
     * 订单满减平摊金额
     */
    private double freeMoney;
    
    /**
     * 积分抵扣平摊金额
     */
    private double integralMoney;
    
    /**
     * 红包抵扣平摊金额
     */
    private double giftMoney;
    
    /**
     *  应付总金额
     */
    private double payMoney;
    
    /**
     * 赠送积分数量
     */
    private int giveIntegral;
    
    /**
     * 是否已经评价1否2是.默认1
     */
    private int appraiseStatus = SystemConstant.CONSTANT_ONE;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductSku() {
		return productSku;
	}

	public void setProductSku(String productSku) {
		this.productSku = productSku;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getSpecValue() {
		return specValue;
	}

	public void setSpecValue(String specValue) {
		this.specValue = specValue;
	}

	public double getBasePrice() {
		return basePrice;
	}

	public void setBasePrice(double basePrice) {
		this.basePrice = basePrice;
	}

	public int getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}

	public double getFinalNrice() {
		return finalNrice;
	}

	public void setFinalNrice(double finalNrice) {
		this.finalNrice = finalNrice;
	}

	public double getFreeMoney() {
		return freeMoney;
	}

	public void setFreeMoney(double freeMoney) {
		this.freeMoney = freeMoney;
	}

	public double getIntegralMoney() {
		return integralMoney;
	}

	public void setIntegralMoney(double integralMoney) {
		this.integralMoney = integralMoney;
	}

	public double getGiftMoney() {
		return giftMoney;
	}

	public void setGiftMoney(double giftMoney) {
		this.giftMoney = giftMoney;
	}

	public double getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(double payMoney) {
		this.payMoney = payMoney;
	}

	public int getGiveIntegral() {
		return giveIntegral;
	}

	public void setGiveIntegral(int giveIntegral) {
		this.giveIntegral = giveIntegral;
	}

	public int getAppraiseStatus() {
		return appraiseStatus;
	}

	public void setAppraiseStatus(int appraiseStatus) {
		this.appraiseStatus = appraiseStatus;
	}

	@Override
	public String toString() {
		return "OrderDetailDTO [orderId=" + orderId + ", productId="
				+ productId + ", productSku=" + productSku + ", productName="
				+ productName + ", specValue=" + specValue + ", basePrice="
				+ basePrice + ", buyNum=" + buyNum + ", finalNrice="
				+ finalNrice + ", freeMoney=" + freeMoney + ", integralMoney="
				+ integralMoney + ", giftMoney=" + giftMoney + ", payMoney="
				+ payMoney + ", giveIntegral=" + giveIntegral
				+ ", appraiseStatus=" + appraiseStatus + "]";
	}
}
